package com.xiaozhengkeji.starbootserver.base.services;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xiaozhengkeji.starbootserver.base.entitys.RoleTableEntity;
import com.xiaozhengkeji.starbootserver.base.mapper.RoleTableEntityMapper;import java.util.List;

@Service
public class RoleTableEntityService {

    @Resource
    private RoleTableEntityMapper roleTableEntityMapper;


    public int deleteByPrimaryKey(Integer rid) {
        return roleTableEntityMapper.deleteByPrimaryKey(rid);
    }


    public int insert(RoleTableEntity record) {
        return roleTableEntityMapper.insert(record);
    }


    public int insertSelective(RoleTableEntity record) {
        return roleTableEntityMapper.insertSelective(record);
    }


    public RoleTableEntity selectByPrimaryKey(Integer rid) {
        return roleTableEntityMapper.selectByPrimaryKey(rid);
    }


    public int updateByPrimaryKeySelective(RoleTableEntity record) {
        return roleTableEntityMapper.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(RoleTableEntity record) {
        return roleTableEntityMapper.updateByPrimaryKey(record);
    }

    public List<RoleTableEntity> queryByAll(RoleTableEntity roleTableEntity) {
        return roleTableEntityMapper.queryByAll(roleTableEntity);
    }
}

